import { drawType } from "./modules/draw";
import { showTip } from "./modules/feature";
import { tiandituVecLayer, tiandituImgLayer, tiandituCesuimLayer } from "./modules/mapUrl";
import { vector } from "./modules/drawLayer";
import { drawMap } from "./modules/screenShot";

export function useMap() {
  return {
    drawType,
    showTip,
    tiandituVecLayer,
    tiandituImgLayer,
    tiandituCesuimLayer,
    vector,
    drawMap,
  };
}
